home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Video
/
World of Video.iso
/
gfxprograms
/
conversion
/
pbmplus
/
doc
/
ppmarith.doc
< prev
next >
Wrap
Text File
|
1995-02-13
|
1KB
|
67 lines
ppmarith(1) PBM Plus ppmarith(1)
NAME
ppmarith - perform arithmetic on two portable pixmaps
SYNOPSIS
ppmarith -add|-subtract|-multiply ppmfile1 ppmfile2
DESCRIPTION
Reads two portable bitmaps as input. Performs the specified
arithmetic operation, and produces a portable bitmap as out-
put. The two input pixmaps must be the same width and
height.
The arithmetic is performed between corresponding pixels in
the two bitmaps, with maxval as 1.0, black as 0.0, and a
linear scale in between. Results that fall outside of
[0..1) are truncated.
All flags can be abbreviated to their shortest unique pre-
fix.
SEE ALSO
pbmmask(1), pbmpaste(1), pnminvert(1), ppm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
Permission to use, copy, modify, and distribute this
software and its documentation for any purpose and without
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting docu-
mentation. This software is provided "as is" without
express or implied warranty.
Printed 5/25/90 08 August 1989 1